app.controller('userOrderlist',["$rootScope","$scope","$state","userInfoCacheFactory","confirmFactory","userInfoService","userOrderlist", function($rootScope,$scope,$state,userInfoCacheFactory,confirmFactory,userInfoService,userOrderlist) {
    $scope.orderStateData = userInfoCacheFactory.orderState;
    $scope.myorderlist = {};
    userOrderlist.orderInfo(function(data){
        $scope.myorderlist = data.data;
    })
}]);
